#include <bits/stdc++.h>

int main() {
    freopen("arena.in", "r", stdin);
    freopen("arena.out", "w", stdout);
    int n, m;
    std::cin >> n >> m;
    for (int i = 0; i < m; i++) {
        std::cout << 0 << std::endl;
    }
    return 0;
}